import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SLogRobCityOne
    
    export  class SLogRobCityOne extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SLogRobCityOne();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.proxyId);
            arg1.writeInt(this.serverId);
            arg1.writeInt(this.guildId);
            arg1.writeString(this.guildName);
            arg1.writeInt(this.SecondGuildId);
            arg1.writeString(this.SecondGuildName);
            arg1.writeInt(this.thirdGuildId);
            arg1.writeString(this.thirdGuildName);
            arg1.writeInt(this.group);
            arg1.writeInt(this.rank);
            arg1.writeInt(this.score);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.proxyId = arg1.readInt();
            this.serverId = arg1.readInt();
            this.guildId = arg1.readInt();
            this.guildName = arg1.readString();
            this.SecondGuildId = arg1.readInt();
            this.SecondGuildName = arg1.readString();
            this.thirdGuildId = arg1.readInt();
            this.thirdGuildName = arg1.readString();
            this.group = arg1.readInt();
            this.rank = arg1.readInt();
            this.score = arg1.readInt();
            return;
        }

        public /* const */_type: int=880;

        public /* var */proxyId: int;

        public /* var */serverId: int;

        public /* var */guildId: int;

        public /* var */guildName: string;

        public /* var */SecondGuildId: int;

        public /* var */SecondGuildName: string;

        public /* var */thirdGuildId: int;

        public /* var */thirdGuildName: string;

        public /* var */group: int;

        public /* var */rank: int;

        public /* var */score: int;

        public static /* var */_regist: SLogRobCityOne;
    }

            SLogRobCityOne._regist = new SLogRobCityOne(true);
        